package com.qf.mapper;

import com.qf.entity.Emp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * --- 天道酬勤 ---
 *
 * @author 卢泓光
 * @date 2025/8/9
 * @desc
 */
@Mapper
public interface EmpMapper {


    int addEmp(Emp emp);

    int delectEmp(Integer empno);

    int updateEmp(Emp emp);

    Emp queryEmp(Integer empno);

    List<Emp> queryLike(String ename);

    List<Emp> queryLikes(Map<String, Object> map);
}
